/**
 * 
 */
package com.haizhi.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;

import com.haizhi.bean.TbUserMessage;

/**
 * @author jiangjintai
 *
 */
public interface UserMessageDao extends JpaRepository<TbUserMessage	, Integer>,QueryDslPredicateExecutor<TbUserMessage> {

	/**
	 * jiangjintai
	 * 2016年7月29日
	 * @param userId
	 * @param pageAble
	 * @return
	 */
	Page<TbUserMessage> findByTbUserByReceiveUserId_UserId(Integer userId, Pageable pageAble);

}
